//
// Created by 李传智 on 2018/4/12.
//

#ifndef ANDSDK_GLVIDEOVIEW_H
#define ANDSDK_GLVIDEOVIEW_H


#include "IVideoView.h"

class Texture;

class GLVideoView : public IVideoView {

public:

    virtual void setRender(void *window);

    virtual void render(VideoData data);

    virtual void close();

protected:

    void *window;

    Texture *texture;

    std::mutex mutex;
};


#endif //ANDSDK_GLVIDEOVIEW_H
